#Makefile for uitl/*

CC = gcc

LINKS = log.o inifile.o #httpd.o url.o

DEFINE = -g -DDEBUG
#DEFINE =

%.o: %.c
	$(CC) -Wall -O2 ${DEFINE} -I../include -I../util -c -o $@ $<

%.o: %.cpp
	$(CC) -Wall -O2 ${DEFINE} -I../include -I../util -c -o $@ $<

all: $(LINKS)

#test:
#	g++ -o ../bin/test_url test_url.cpp url.cpp  -I ../include/ -DURL_DEBUG

clean:
	rm -f *.o
